package com.yunhai.xc.user.domain;

import java.io.Serializable;

import org.springframework.data.annotation.Id;

public class User implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	private Integer id;
	private Integer age;
	private String username;
	private String password;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", age=" + age + ", username=" + username + ", password=" + password + "]";
	}

}
